package com.macaku.service;

import com.macaku.domain.dto.ModelMessage;
import com.macaku.domain.po.Email;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.io.File;

/**
* @author 马拉圈
* @description 针对表【email】的数据库操作Service
* @createDate 2024-01-14 18:48:23
*/
public interface EmailService extends IService<Email> {


    void sendSimpleMailMessage(Email email);


    void sendMailWithFile(Email email, File file);


    void sendModelMail(Email email, ModelMessage modelMessage);

    public String selectNameByEmail(String email);

}
